export {};

// 枚举 enum

const status = {
  pendding: 0,
  fullfiled: 1,
  reject: 2,
};
// 声明enum前面加const 编译后不会新增代码 只能取key     相反 编译后代码会有key value

const enum Status {
  pendding = 0,
  fullfiled = 1,
  reject = 2,
}

console.log(Status.pendding);
